<template>
      <tr class="title">
        <td width="50"><input type="checkbox" name="" class="choose_all" :checked="value" @change="changeValue"></td>
        <td width="100" class=""><span style="margin-left: -10px;">全选</span></td>
        <td width="400">商品信息</td>
        <td width="150">单价（元）</td>
        <td width="150">数量</td>
        <td width="150">金额（元）</td>
        <td width="80">操作</td>
      </tr>
</template>

<script>
export default {
  name: 'MyHeader',
  props: {
    value:{
    type:Boolean,
      required:true
    },
  },
  methods:{
    changeValue(){
      this.$emit('input',!this.value)
    }
  }
}
</script>

<style  lang="less"></style>
